//
//  ZFCCommentFrame.m
//  ZfcCommnetView
//
//  Created by zfc on 16/4/26.
//  Copyright © 2016年 zfc. All rights reserved.
//

#import "ZFCCommentFrame.h"

#define ZFCColor(x,y,z) [UIColor colorWithRed:x/255.0 green:y/255.0 blue:z/255.0 alpha:1.0]

@implementation ZFCCommentFrame


+ (instancetype)zfcCreateView{
    return [[[NSBundle mainBundle] loadNibNamed:@"ZFCCommentFrame" owner:nil options:nil] lastObject];
}

- (void)awakeFromNib
{
    self.TextView.layer.borderWidth = 1.6;
    self.TextView.layer.borderColor = ZFCColor(173, 210, 252).CGColor;
    self.TextView.layer.cornerRadius = 3;
}

- (IBAction)sender:(id)sender {
    self.sender([NSString stringWithFormat:@"%@",self.TextView.text]);

}



@end
